
//重新加载租户
let reloadCustomer = () =>
    fetch("/api/epoch/reloadCustomer", {
        headers: {
            accept: "application/json, text/javascript",
            "accept-language": "zh-CN,zh;q=0.9",
            "content-type": "application/json",
            "x-xsrf-token": window.document.cookie
                .split(";")
                .filter((c) => c.trim().indexOf("XSRF-TOKEN") == 0)[0]
                .split("=")[1],
        },
        body: `{
        "customerCode": "master",
        "metaqKey": "1"
    }`,
        method: "POST",
        mode: "cors",
        credentials: "include",
    });
reloadCustomer();